import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // 创建窗口并设置背景颜色
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        
        // 设置根视图控制器
        window?.rootViewController = WBMainViewController()
        
        // 显示窗口
        window?.makeKeyAndVisible()
        
        print("App init")
        return true
    }
}
